#include<bits/stdc++.h>
using namespace std;
int a[1000005];
int n,ans;
int b[1000005],top;

int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=1;i<=n;i++){
        cin>>a[i];
    }
    sort(a+1,a+n+1);
    bool vis=false;
    int cnt=1;
    for(int i=1;i<=n;i++){
        if(a[i]==a[i+1])cnt++;
        else{
            b[++top]=cnt;
            cnt=1;
        }
    }
    ans=b[1];
    for(int i=2;i<=top;i++){
        if(b[i]>=ans)ans=b[i];
    }
    cout<<ans;
    fclose(stdin);
    fclose(stdout);
    return 0;
 }
